
<h1><?php echo $catname?></h1>
<div id="category">
	<ul>
	<?php foreach($imagecats as $k=>$v){?>
		<li><a href="<?php echo $this->Seo->link('/lifes/index/'.$v['ImageCategory']['id'].'/'.$locale)?>"><?php echo $v['ImageCategory']['title']?></a></li>
	<?php }?>	
	</ul>
</div>

<?php $paging=$this->Paginator->getPages2(array('controller'=>'lifes','params'=>$cid.'/'.$locale,'delimiter'=>'|','page'=>$page));

					if($paging['totalPage']>1){
				?>
				<div id="paging">
				
					<?php
					if(isset($paging['prev']))echo  $paging['prev'];
					echo $paging['paging'];
					if(isset($paging['next']))echo  $paging['next'];
					?>
					
				</div>
				
				
				<?php }?>


<?php foreach($images as $k=>$v){?>
<div class="image_wrapper indexImage">
<a href="<?php echo $this->Seo->link('/lifes/detail/'.$v['Image']['id'].'/'.$locale)?>">
	<img class="imageFix" widthFix="170" heightFix="170"
		src="<?php echo $this->webroot.'uploaded/Image/thumb/'.$v['Image']['image']?>" alt="<?php echo $v['Image']['title']?>">
		</a>
	
</div>
<?php }?>

<div class="cleaner"></div>


